<?php
$this->load->helper("url");
?>

<img src="<?php echo base_url()."/UserUploads/".$userId."/".$imageName;?>"  width="<?php $width?>" height="<?php $height?>">
<a href="http://www.facebook.com"><input type="button" value="Post"></a>
<a href=<?php echo base_url()."index.php/ImageUpload/ImageUpload"?>><input type="button" value="Back to menu"></a>